/*
 Navicat Premium Data Transfer

 Source Server         : mysql
 Source Server Type    : MySQL
 Source Server Version : 80100
 Source Host           : localhost:3306
 Source Schema         : pay

 Target Server Type    : MySQL
 Target Server Version : 80100
 File Encoding         : 65001

 Date: 13/09/2023 19:50:00
*/

SET NAMES utf8mb4;
SET
FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for t_dict
-- ----------------------------
DROP TABLE IF EXISTS `pay_dict`;
CREATE TABLE `pay_dict`(
    `id`          bigint unsigned NOT NULL AUTO_INCREMENT,
    `dict_name`   varchar(100)  DEFAULT NULL COMMENT '字典名称',
    `dict_code`   varchar(100)  DEFAULT NULL COMMENT '字典编码',
    `description` varchar(255)  DEFAULT NULL COMMENT '描述',
    `del_flag`    int           DEFAULT NULL COMMENT '删除状态',
    `create_by`   varchar(32)   DEFAULT NULL COMMENT '创建人',
    `create_time` datetime      DEFAULT NULL COMMENT '创建时间',
    `update_by`   varchar(32)   DEFAULT NULL COMMENT '更新人',
    `update_time` datetime      DEFAULT NULL COMMENT '更新时间',
    `type`        int(1) unsigned zerofill DEFAULT '0' COMMENT '字典类型: 0为string; 1为number',
    PRIMARY KEY (`id`) USING BTREE,
    UNIQUE KEY `index_table_dict_code` (`dict_code`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='字典表';

-- ----------------------------
-- Records of t_dict
-- ----------------------------
BEGIN;
INSERT INTO `pay_dict` (`id`, `dict_name`, `dict_code`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `type`) VALUES ('1', '支付方式', 'PAY_METHOD', '支付方式', 0, '1', '2023-09-13 15:56:00', '1', '2023-09-13 15:56:00', 0);
INSERT INTO `pay_dict` (`id`, `dict_name`, `dict_code`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `type`) VALUES ('2', '订单状态', 'ORDER_STATUS', '订单状态', 0, '1', '2023-09-13 15:57:00', '1', '2023-09-13 15:58:00', 0);
COMMIT;

SET
FOREIGN_KEY_CHECKS = 1;
